package com.itheima.pojo;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@TableName("tb_users_details") // 指定表名
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Users {
    @TableId(value = "id")
    private Integer id;//序号
    @TableField(value = "user_id",exist = true)
    private Integer userId;//用户id
    @TableField(value = "nick_name",exist = true)
    private String nickname;//昵称
    private String mobile;//手机号，即用户账号
    private String sex;//性别
    @TableField(value = "personal_signature",exist = true)
    private String personalSignature;//个性签名
    private Integer age;//年龄
    @TableField(value = "count_be_liked",exist = true)
    private Integer countBeLiked;//被喜欢人数
    @TableField(value = "count_liked",exist = true)
    private Integer countLiked;//喜欢人数
    @TableField(value = "count_matching",exist = true)
    private Integer countMatching;//配对人数
    private Integer income;//收入
    private String occupation;//职业
    @TableField(value = "user_status",exist = true)
    private String userStatus;//用户状态
    private Integer created;//注册时间
    private String city;//注册地区
    @TableField(value = "last_active_time",exist = true)
    private Integer lastActiveTime;//最近活跃时间
    @TableField(value = "last_login_location",exist = true)
    private String lastLoginLocation;//最近登陆地
    private String logo;//头像
    private String tags;//用户标签

}
